package com.wedu.entity;

public abstract class UserAccount {
    private String ACID;//账户编号
    private int credit_rating;//信用等级
    private int frequency;//按时完成次数
    private int frequency_t;//逾期完成次数
    private double balance;//余额

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public UserAccount() {
    }

    public UserAccount(String ACID, int credit_rating, int frequency, int frequency_t) {
        this.ACID = ACID;
        this.credit_rating = credit_rating;
        this.frequency = frequency;
        this.frequency_t = frequency_t;
    }

    public String getACID() {
        return ACID;
    }

    public void setACID(String ACID) {
        this.ACID = ACID;
    }

    public int getCredit_rating() {
        return credit_rating;
    }

    public void setCredit_rating(int credit_rating) {
        this.credit_rating = credit_rating;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public int getFrequency_t() {
        return frequency_t;
    }

    public void setFrequency_t(int frequency_t) {
        this.frequency_t = frequency_t;
    }

    @Override
    public String toString() {
        return "UserAccount{" +
                "ACID='" + ACID + '\'' +
                ", credit_rating=" + credit_rating +
                ", frequency=" + frequency +
                ", frequency_t=" + frequency_t +
                ", balance=" + balance +
                '}';
    }
}
